Skip to content

Change {Key: user.xxx, Value: xxx} to {user.xxx: xxx}#17

Open
kuyacarlo wants to merge 1 commit into
dotzero:masterfrom
kuyacarlo:feat/minify-config
Open

Change {Key: user.xxx, Value: xxx} to {user.xxx: xxx}#17
kuyacarlo wants to merge 1 commit into
dotzero:masterfrom
kuyacarlo:feat/minify-config

Conversation

@kuyacarlo

@kuyacarlo kuyacarlo commented Jun 26, 2026

Copy link
Copy Markdown

changed the config file to key:value instead of Key: value, Value: value

How about current installs?

Upon update, it would migrate from old configuration to new configuration in place.

Note: after this update, the config won't be backwards compatible.

Possible Fix

Put the new config into the config directly with XDG

@dotzero

dotzero commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Thanks for the PR! I really like the direction of moving toward XDG support, but I have some concerns about the current implementation.

One of the goals of the current architecture is to allow complete isolation of any Git configuration, not just user identity settings.

For example, it’s currently possible to do something like:

git-profile add work core.autocrlf input

With the approach proposed in this PR, the tool becomes limited to just three settings: user.name, user.email, and user.signingkey.

I’d like to preserve the existing flexibility, since it allows users to isolate and manage arbitrary Git configuration values, not only identity-related ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants